<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ include file="/common/context.jsp"%>
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
		<meta http-equiv="Content-Type" content="text/html; charset=GBK">
<script language="javascript">
	<c:if test="${materialKind.operType=='add'}">		
		window.parent.LeftFrame.refreshNode();
		window.parent.MainFrame.location.href = "updateMaterialKindInit_material.action?materialKind.mkId=<s:property value="materialKind.mkId" />";
	</c:if>
	
	<c:if test="${materialKind.operType=='update'}">
		window.parent.LeftFrame.refreshParentNode();
		window.parent.MainFrame.location.href = "updateMaterialKindInit_material.action?materialKind.mkId=<s:property value="materialKind.mkId" />";
	</c:if>
	
</script>
</head>
<body>
</body>
</html>
